package ebusiness.ebusiness.Dao.UserDao;

import ebusiness.ebusiness.Entity.UserEntity.Administrator;
import ebusiness.ebusiness.Entity.UserEntity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminQuery {
    List<User> getUserByID();
    void addAUser(@Param("username") String customer_name,@Param("userpw") String customer_password);
    void modifyUser(@Param("userid") int customer_id,@Param("username") String customer_name,@Param("userpw") String customer_password);
    void deleteUser(@Param("uid") int uid);
    Administrator findAdminByName(@Param("name") String name);
}
